<?php
require_once('func.php');
$page=1;
$category=-1;
if(isset($_GET['page'])){
	$page=$_GET['page'];
}
if(isset($_GET['c'])){
        $category=$_GET['c'];
}

if($page<=1) {
	$step=$first_step;
	$start=0;
}
else {
	$step=24;
	$start=$first_step+($page-2)*$step;
}

get_product($category, $start, $step);
